window.onload=function(){  
  
	var  t1 = window.setTimeout(hello,6000); 
	//var t2 = window.setTimeout("hello()",8000);//使用字符串执行方法 
	//去掉定时器 
	//window.clearTimeout(t1);
  }  

function hello(){ 
	//$('div').each(function(){
		//var me=$(this);
		//var v=me.html();
		//me.html(v.replace(/(http:\/\/|https:\/\/)((\w|=|\?|\.|\/|\&|-)+)/g, "<a href='$1$2' target='_blank'>$1$2</a>"));
	//});
	//alert("hello"); 
	var div = document.getElementById("content-container");
  
   var s=div.innerHTML;  
  
    div.innerHTML=s.replace(/([.|\d+|(\u2E80-\u9FFF)|\d+|\w+|&+|\;|\s|\-+]+.{1,5}):(http:\/\/|https:\/\/)((\w|:\d|;|\s|=|\?|\.|\/|\&|-)+)/g, "<a href='$2$3' target='_blank'>$1</a>");
	//window.clearTimeout(t1);
} 